﻿using System.Text;

namespace ProcessLib.Ratp.Page.Py;

public class PySemanticParagraph
{
    public List<string>? RegionLines
    {
        get;
        set;
    }

    public override string ToString()
    {
        if (RegionLines == null) return "null";
        var make = new StringBuilder();
        foreach (var line in RegionLines)
        {
            make.Append($"L: {line}\n");
        }
        return $"Semantic Paragraph Lines: {RegionLines.Count} \n" +
               $"{make}";
    }
}